package com.ruoyi.msg.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.annotation.OssUrl;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 轮播图信息视图对象 msg_swiper
 *
 * @author strongme
 * @date 2023-05-23
 */
@Data
@ExcelIgnoreUnannotated
public class MsgSwiperVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 轮博图片id
     */
    @ExcelProperty(value = "轮博图片id")
    private String img;

    @OssUrl
    public Object getImgUrl() {
        return img;
    }

    /**
     * 轮博图片介绍
     */
    @ExcelProperty(value = "轮博图片介绍")
    private String caption;

    /**
     * 轮博图状态
     */
    @ExcelProperty(value = "轮博图状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private String status;


}
